package serviceImpl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.CommentDAO;
import service.CommentService;
import model.Comment;

@Service("commentServiceImpl")
public class CommentServiceImpl implements CommentService{
	
	@Autowired
	private CommentDAO commentDAO;
	@Override
	public List<Comment> getComments(int expID) {
		return commentDAO.getComments(expID);
	}

}
